/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.dao;

import java.util.List;
import vn.webapp.model.Classes;
import vn.webapp.model.CourseTeacherClassRaw;
import vn.webapp.model.Coursing;
import vn.webapp.model.CoursingTimeTabling;
import vn.webapp.model.CoursingsSave;

public interface CoursingDAO {

    public List<Coursing> list();
    
    public int removeACoursing(int id);
    
    public Coursing checkExists(int id, int teacherId, int courseId, int sessionId);
    
    public int saveACoursing(CoursingsSave coursing);
    
    public void editACoursing(CoursingsSave coursing);
    
    public List<Coursing> filter(int page, int pageSize);
    
    public int count();
    
    public List<Coursing> getById(int coursingId);
    
    public CoursingTimeTabling getByIdTime(int coursingTimeId);
    
    public List<CoursingTimeTabling> getByIdTimetabling(int coursingId);
    
    public Coursing getByTeacherCourseSession(int teacherId, int courseId, int sessionId);
    
    public List<CoursingsSave> getOriginSource();
    
    public List<CourseTeacherClassRaw> listCourseTeacherClassById(int iCourseTeacherClassId);
}
